﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;
namespace BLL_HealthInsurance
{
   public class BLLPolicyOnEmployee
    {
       DAOPolicyOnEmployee objDAOPoEmp = new DAOPolicyOnEmployee();

        public DataTable ListPolicyEmp()
        {
            return objDAOPoEmp.ListPoEmp();
        }
        public int insertPolicyEmp(DTOPoliciesOnEmployee objPoEmp)
       {
           return objDAOPoEmp.InsertPoEmp(objPoEmp);
       }
        public int updatePolicyEmp(DTOPoliciesOnEmployee objPoEmp)
        {
            return objDAOPoEmp.UpdatePoEmp(objPoEmp);
        }
        public int deletePolicyEmp(DTOPoliciesOnEmployee objPoEmp)
        {
            return objDAOPoEmp.DeletePoEmp(objPoEmp);
        }
        public DataTable GetPolicyEmpById(DTOPoliciesOnEmployee objPoEmp)
        {
            return objDAOPoEmp.GetPoEmpByEmpNo(objPoEmp);
        }
    }
}
